<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it-it" lang="it-it" dir="ltr">
	<head>
		<title><?php echo $title; ?></title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="Keywords" content="Keys" />
		<meta name="Description" content="Desc" />
		
		<?php echo $css_files; ?>
		<?php echo $js_files; ?>
		
	</head>
	<body>
			<h1>New page</h1>

			<?php
			
				echo "<pre>";
				//var_dump($this->template->partials);
				echo "</pre>";
							
				echo form_open('pages/new_page');
				
				echo "<p>";

				echo form_label('Page title', 'title');
				echo form_input('title', '');
				echo "<br />";
				
				if (isset($mytiles))
				{
					echo $mytiles;
				}
				
				echo "<br />";
				
				if (isset($elements))
				{
					echo $elements;
				}
				
				/*echo form_label('Page status', 'status');
				echo form_dropdown('status', $options, '0');*/
				echo "<br />";
				echo form_submit('submit', 'Invia');
				
				echo "</p>";

				echo form_close();
			?>
			
			<p><?=$this->benchmark->elapsed_time();?></p>
	</body>
</html>
